package IC.Parser;

import java_cup.runtime.Symbol;

public class Token extends Symbol 
{
	
    public Token(int id, int line) 
    {
        super(id, null);
        
    }
    
    public Token(int id, int line, Object value)
    {

    	super(id, ++line, 0, value); //id, left, right, value
    	
    }
    
    public int getId() 
    {
    	return this.sym;
    }
    
    public Object getValue() 
    {
    	return this.value;
    }
    
    public int getLine()
    {
    	return this.left;
    }
    		
}

